Carbon


PBGetForeignPrivsSync

Header: Files.h Carbon status: Supported

Determines the native access-control information for a file or directory stored on a volume managed by a foreign file system.

OSErr PBGetForeignPrivsSync (
    HParmBlkPtr paramBlock
);
paramBlock

A pointer to a foreignPrivParam variant of the HFS parameter block.

function result

A result code.

DISCUSSION

The relevant fields of the parameter block are:

The PBGetForeignPrivsSync function allows your application or shell program to communicate with a foreign file system about its native access-control system. This function retrieves access permissions for a file or directory on a volume managed by a file system that uses a privilege model different from the AFP model.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)